package com.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Organization {
    private Integer id;
    private String orgNo;
    private String orgCode;
    private String orgname;
    private String exeType;
    private String areaCode;
    private String linkAdd;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date listingDate;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date standaloneDate;
    private String areaType;
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date zbbdocDate;
    private String orgLevel;
    private String orgPro;
    private String zipcode;

    public Organization() {
    }

    public Organization(Integer id, String orgNo, String orgCode, String orgname, String exeType, String areaCode, String linkAdd, Date listingDate, Date standaloneDate, String areaType, Date zbbdocDate, String orgLevel, String orgPro, String zipcode) {
        this.id = id;
        this.orgNo = orgNo;
        this.orgCode = orgCode;
        this.orgname = orgname;
        this.exeType = exeType;
        this.areaCode = areaCode;
        this.linkAdd = linkAdd;
        this.listingDate = listingDate;
        this.standaloneDate = standaloneDate;
        this.areaType = areaType;
        this.zbbdocDate = zbbdocDate;
        this.orgLevel = orgLevel;
        this.orgPro = orgPro;
        this.zipcode = zipcode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgCode() {
        return orgCode;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public String getOrgname() {
        return orgname;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public String getExeType() {
        return exeType;
    }

    public void setExeType(String exeType) {
        this.exeType = exeType;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getLinkAdd() {
        return linkAdd;
    }

    public void setLinkAdd(String linkAdd) {
        this.linkAdd = linkAdd;
    }

    public Date getListingDate() {
        return listingDate;
    }

    public void setListingDate(Date listingDate) {
        this.listingDate = listingDate;
    }

    public Date getStandaloneDate() {
        return standaloneDate;
    }

    public void setStandaloneDate(Date standaloneDate) {
        this.standaloneDate = standaloneDate;
    }

    public String getAreaType() {
        return areaType;
    }

    public void setAreaType(String areaType) {
        this.areaType = areaType;
    }

    public Date getZbbdocDate() {
        return zbbdocDate;
    }

    public void setZbbdocDate(Date zbbdocDate) {
        this.zbbdocDate = zbbdocDate;
    }

    public String getOrgLevel() {
        return orgLevel;
    }

    public void setOrgLevel(String orgLevel) {
        this.orgLevel = orgLevel;
    }

    public String getOrgPro() {
        return orgPro;
    }

    public void setOrgPro(String orgPro) {
        this.orgPro = orgPro;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }
}
